<?php
/**
 * Created by PhpStorm.
 * User: mr.lee
 * Date: 2018/4/9
 * Time: 下午4:51
 */

namespace app\common\model;

use think\Model;
use think\Session;

class CardJcList extends Model
{
    protected $insert = ['creat_user','creat_time'];      //新增
    protected function setCreat_userAttr()
    {
        return Session::get('user.nickname');
    }
    protected function setCreat_timeAttr()
    {
        return time();
    }
}